package com.cmj;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.scheduling.annotation.EnableScheduling;
import springfox.documentation.swagger2.annotations.EnableSwagger2;

/**
 * springboot启动类
 */
@SpringBootApplication
@EnableSwagger2
@EnableScheduling //定时任务开启
public class Application {
    public static void main(String[] args) {
        SpringApplication.run(Application.class,args);
    }
}
